package com.dut.bbs.util;

import java.util.LinkedHashMap;
import java.util.Map;

import android.os.Environment;

public class URLConstant {
	public static final String FILEDIR_BASE = Environment.getExternalStorageDirectory().getAbsolutePath()+"/DUTBBS/";
	public static final String URL_BASE = "http://bbs.dlut.edu.cn";
	public static final String USER_QUERY = "http://bbs.dlut.edu.cn/nforum/m/user/query/";
	public static final String TEST_POST_URL = "http://bbs.dlut.edu.cn/nforum/m/article/test/post";
	public static final String POST_URI_BASE = "http://bbs.dlut.edu.cn/nforum/m/article/";
	public static final String BOARD_URI_BASE = "http://bbs.dlut.edu.cn/nforum/m/board/";
	public static final String TOP10_URI = "http://bbs.dlut.edu.cn/nforum/m/hot/topTen";
	public static final String IP_QUERY = "http://iframe.ip138.com/ic.asp";
	public static final String MAIL_URI = "http://bbs.dlut.edu.cn/nforum/m/mail";
	public static final String MAIL_BASE = "http://bbs.dlut.edu.cn/nforum/m/mail/send/";
	public static Map<String,String> map0 = new LinkedHashMap<String,String>();
    public static Map<String,String> map1 = new LinkedHashMap<String,String>();
    
    static
    {
    	//热点推荐区
    	map0.put("活动", "http://bbs.dlut.edu.cn/nforum/m/hot/recommend");
    	map0.put("理工大学", "http://bbs.dlut.edu.cn/nforum/m/hot/1");
    	map0.put("学术科学", "http://bbs.dlut.edu.cn/nforum/m/hot/2");
    	map0.put("电脑空间","http://bbs.dlut.edu.cn/nforum/m/hot/3");
    	map0.put("文化长廊", "http://bbs.dlut.edu.cn/nforum/m/hot/4");
    	map0.put("休闲一族", "http://bbs.dlut.edu.cn/nforum/m/hot/5");
    	map0.put("体育世界", "http://bbs.dlut.edu.cn/nforum/m/hot/6");
    	map0.put("谈天说地", "http://bbs.dlut.edu.cn/nforum/m/hot/7");
    	map0.put("信息总汇", "http://bbs.dlut.edu.cn/nforum/m/hot/8");
    	map0.put("俱乐部", "http://bbs.dlut.edu.cn/nforum/m/hot/9");
    	
    	//十个主分区地址
    	map1.put("BBS系统", "http://bbs.dlut.edu.cn/nforum/m/section/0");
    	map1.put("理工大学","http://bbs.dlut.edu.cn/nforum/m/section/1");
    	map1.put("学术科学", "http://bbs.dlut.edu.cn/nforum/m/section/2");
    	map1.put("电脑空间", "http://bbs.dlut.edu.cn/nforum/m/section/3");
    	map1.put("文化长廊", "http://bbs.dlut.edu.cn/nforum/m/section/4");
    	map1.put("休闲一族", "http://bbs.dlut.edu.cn/nforum/m/section/5");
    	map1.put("体育世界", "http://bbs.dlut.edu.cn/nforum/m/section/6");
    	map1.put("谈天说地", "http://bbs.dlut.edu.cn/nforum/m/section/7");
    	map1.put("信息总汇", "http://bbs.dlut.edu.cn/nforum/m/section/8");
    	map1.put("俱乐部", "http://bbs.dlut.edu.cn/nforum/m/section/9");
    }
}
